package com.hpf.lease.web.admin.controller;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/admin")
@Tag(name = "登陆模块")
public class LoginController {
    @Cacheable(value = "hpf:login",key = "#id")
    public String ab(long id){
        return "你好";
    }
}
